<template>
  <el-header>
    <div class="content">
      <div class="l-content">
        <el-button size="small" @click="handleCollapse()">
          <el-icon>
            <!--          <Expand />-->
            <Fold/>
          </el-icon>
        </el-button>
        <h3>首页</h3>
      </div>
      <div class="r-content">
        <el-dropdown>
    <span class="person">
<!--        <el-avatar> admin </el-avatar>-->
      <img  class="user" :src="getImgSrc('vue')" alt="">
      </span>
          
          <template #dropdown>
            <el-dropdown-menu>
              <el-dropdown-item command="a">个人中心</el-dropdown-item>
              <el-dropdown-item command="b">退出</el-dropdown-item>
            </el-dropdown-menu>
          </template>
        </el-dropdown>
      </div>
    </div>
  </el-header>
</template>

<script src="@/assets/js/common/commonHeader/index.js"></script>